package com.maventools.config;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @BelongsProject: maventools
 * @BelongsPackage: com.maventools.config
 * @Author: Layila
 * @CreateTime: 2025-04-20  14:24
 * @Description: TODO
 * @Version: 1.0
 * @Since:Java17
 */
@Component
@ToString
@NoArgsConstructor
public class DownloadConfig {
    @Value("${maven.versionXml}")
    @Getter
    private String metadataUrl;
    @Getter
    @Value("${maven.baseUrl}")
    private String downloadUrl;
    @Getter
    @Value("${maven.path}")
    private String targetURL;
    @Getter
    @Value("${maven.settingLocalcation}")
    private  String settingPath;
}
